-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): repair corrupted blobs when pushed again #1927
feat(api): repair corrupted blobs when pushed again #1927
Conversation
bb0312c
to
231ab3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks ok.
Codecov Report
@@ Coverage Diff @@
## main #1927 +/- ##
==========================================
+ Coverage 91.86% 91.88% +0.01%
==========================================
Files 155 155
Lines 26702 26785 +83
==========================================
+ Hits 24531 24611 +80
- Misses 1607 1609 +2
- Partials 564 565 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
e11b3e4
to
1ab971b
Compare
86304bf
to
b3ad585
Compare
19de1d7
to
d2b59fa
Compare
needed to increase a bit the delays on minio because it failed multiple times. The added overhead of checking manifests is big enough to interfere, but small enough to not impact the Minimum performance regression check. When I used the digest to calculate a blob's digest, and validate, the Minimum performance regression check failed. |
CheckBlob() returns ErrBlobNotFound on corrupted blobs closes project-zot#1922 Signed-off-by: Petu Eusebiu <[email protected]>
d2b59fa
to
575fdb8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested this.
lgtm
CheckBlob() returns ErrBlobNotFound on corrupted blobs
closes #1922
What type of PR is this?
Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.